package com.example.index.tools

import com.example.index.BaseIndexActivity
import com.example.index.R
import com.example.index.extension.quickStartActivity

class ToolsIndexActivity : BaseIndexActivity() {

    val items = arrayListOf<Pair<String, Class<*>>>()

    override fun getData(): List<String> {

        items.addAll(
            arrayListOf(
                Pair(getString(R.string.extract_apk_info), ApkInfoExtractActivity::class.java)

                )

        )
        return items.map { it.first }.toList()
    }

    override fun handleItemClick(index: Int, title: String) = quickStartActivity(items[index].second)


}
